const ip = 'http://47.113.150.171:8080'
const cameraip = 'http://47.113.150.171:6000'
// const cameraip = 'http://10.22.30.179:8080'

var focus = 1
var unfocus = 0

// 当sendcamera=1表示正在传输循环传输视频帧并获取focus
var sendcamera = 0
// 当sendfocus=1表示正在循环发送focus与unfocus
var sendfocus = 0

// 当camerafeedback=1，表示可以发送下一张图片；=0则不能
var camerafeedback = 1

const global = {
  ip,
  focus,
  unfocus,
  sendcamera,
  sendfocus,
  camerafeedback,
  cameraip
}

export default global
